package com.ng.sys.model.response;

import java.util.List;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.ng.sys.model.dto.Meta;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
@JsonInclude(JsonInclude.Include.NON_EMPTY)
public class RouteResponse {

	@Schema(description = "路径")
	private String path;

	@Schema(description = "组件")
	private String component;

	@Schema(description = "重定向地址")
	private String redirect;

	@Schema(description = "名称")
	private String name;

	@Schema(description = "meta")
	private Meta meta;

	@Schema(description = "名称")
	private List<RouteResponse> children;

}
